home *** CD-ROM | disk | FTP | other *** search
- \ SDF2FIX.S
- \ demo sample table
-
- \ This table reformats a comma-quote-delimited data file into
- \ a fixed-length data file.
-
- \ The following single equation reads four variable-length
- \ comma-quote-delimited fields and pads them out to fixed length. The
- \ padded length of the fields are 15, 15, 30 and 14.
-
- "\^*(15)\v","\^*(15)\v","\^*(30)\v","\^*(14)\v"\0d\0a=\^L1\^L2\^L3\^R4\0d\0a
-
- \ The literal translation of the equation reads:
- \ a quote mark + up to 15 printable characters terminated by
- \ a quote-comma-quote + up to 15 printable characters terminated
- \ by a quote-comma-quote + up to 30 printable characters
- \ terminated by a quote-comma-quote + up to 14 printable
- \ characters terminated by a quote-carriage return-line feed = the 1st
- \ variable-length field padded and left-aligned + the 2nd variable-length
- \ field padded and left-aligned + the 3rd variable-length field padded and
- \ left-aligned + the 4th variable-length field padded and right-aligned +
- \ a carriage return line feed.
-
-